home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / advanced.xul < prev    next >
Extensible Markup Language  |  2007-07-24  |  14KB  |  312 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE overlay [
  5. <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  6. %brandDTD;
  7. <!ENTITY % advancedDTD SYSTEM "chrome://browser/locale/preferences/advanced.dtd">
  8. %advancedDTD;
  9. <!ENTITY % privacyDTD SYSTEM "chrome://browser/locale/preferences/privacy.dtd">
  10. %privacyDTD;
  11. <!ENTITY % prefsDTD SYSTEM "chrome://flock/locale/preferences/flockprefs.dtd">
  12. %prefsDTD;
  13. ]>
  14.  
  15. <overlay id="AdvancedPaneOverlay"
  16.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  17.  
  18.   <prefpane id="paneAdvanced" onpaneload="gAdvancedPane.init();"
  19.             xmlns:xhtml2="http://www.w3.org/TR/xhtml2"
  20.             xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#"
  21.             xmlns:aaa="http://www.w3.org/2005/07/aaa">
  22.  
  23.     <preferences id="advancedPreferences">
  24.       <preference id="browser.preferences.advanced.selectedTabIndex"
  25.                   name="browser.preferences.advanced.selectedTabIndex"
  26.                   type="int"/>
  27.  
  28.       <!--XXX button prefs -->
  29.  
  30.       <!-- General tab -->
  31.       <preference id="accessibility.browsewithcaret"   name="accessibility.browsewithcaret"   type="bool"/>
  32.       <preference id="accessibility.typeaheadfind"     name="accessibility.typeaheadfind"     type="bool"/>
  33.  
  34.       <preference id="general.autoScroll"              name="general.autoScroll"              type="bool"/>
  35.       <preference id="general.smoothScroll"            name="general.smoothScroll"            type="bool"/>
  36.       <preference id="layout.spellcheckDefault"        name="layout.spellcheckDefault"        type="int"/>
  37.  
  38.  
  39.       <!-- Network tab -->
  40.       <preference id="browser.cache.disk.capacity"     name="browser.cache.disk.capacity"     type="int"/>
  41.  
  42.  
  43.       <!-- Update tab -->
  44.       <preference id="app.update.enabled"              name="app.update.enabled"              type="bool"
  45.                   onchange="gAdvancedPane.updateAppUpdateItems();
  46.                             gAdvancedPane.updateAutoItems();
  47.                             gAdvancedPane.updateModeItems();"/>
  48.       <preference id="extensions.update.enabled"       name="extensions.update.enabled"       type="bool"
  49.                   onchange="gAdvancedPane.updateAddonUpdateUI();"/>
  50.       <preference id="browser.search.update"           name="browser.search.update"           type="bool"/>
  51.  
  52.       <preference id="app.update.auto"                 name="app.update.auto"                 type="bool"
  53.                   onchange="gAdvancedPane.updateAutoItems();
  54.                             gAdvancedPane.updateModeItems();"/>
  55.       <preference id="app.update.mode"                 name="app.update.mode"                 type="int"
  56.                   onchange="gAdvancedPane.updateModeItems();"/>
  57.  
  58.       <preference id="app.update.disable_button.showUpdateHistory"
  59.                   name="app.update.disable_button.showUpdateHistory"
  60.                   type="bool"/>
  61.  
  62.  
  63.       <!-- Encryption tab -->
  64.       <preference id="security.enable_ssl3"            name="security.enable_ssl3"            type="bool"/>
  65.       <preference id="security.enable_tls"             name="security.enable_tls"             type="bool"/>
  66.  
  67.       <preference id="security.default_personal_cert"  name="security.default_personal_cert"  type="string"/>
  68.  
  69.       <preference id="security.disable_button.openCertManager"
  70.                   name="security.disable_button.openCertManager"
  71.                   type="bool"/>
  72.       <preference id="security.OCSP.disable_button.managecrl"
  73.                   name="security.OCSP.disable_button.managecrl"
  74.                   type="bool"/>
  75.       <preference id="security.disable_button.openDeviceManager"
  76.                   name="security.disable_button.openDeviceManager"
  77.                   type="bool"/>
  78.     </preferences>
  79.  
  80.     <script type="application/x-javascript" src="chrome://browser/content/preferences/advanced.js"/>
  81.  
  82.     <tabbox id="advancedPrefs" flex="1"
  83.             onselect="gAdvancedPane.tabSelectionChanged();">
  84.  
  85.       <tabs id="tabsElement">
  86.         <tab id="generalTab" label="&generalTab.label;"/>
  87.         <tab id="networkTab" label="&networkTab.label;"/>
  88.         <tab id="updateTab" label="&updateTab.label;"/>
  89.         <tab id="encryptionTab" label="&encryptionTab.label;"/>
  90.       </tabs>
  91.  
  92.       <tabpanels flex="1">
  93.  
  94.         <!-- General -->
  95.         <tabpanel id="generalPanel" orient="vertical">
  96.  
  97.           <!-- Accessibility -->
  98.           <groupbox id="accessibilityGroup" align="start">
  99.             <caption label="&accessibility.label;"/>
  100.  
  101.             <checkbox id="useCursorNavigation"
  102.                       label="&useCursorNavigation.label;"
  103.                       accesskey="&useCursorNavigation.accesskey;"
  104.                       preference="accessibility.browsewithcaret"/>
  105.             <checkbox id="searchStartTyping"
  106.                       label="&searchStartTyping.label;"
  107.                       accesskey="&searchStartTyping.accesskey;"
  108.                       preference="accessibility.typeaheadfind"/>
  109.           </groupbox>
  110.  
  111.           <!-- Browsing -->
  112.           <groupbox id="browsingGroup" align="start">
  113.             <caption label="&browsing.label;"/>
  114.  
  115.             <checkbox id="useAutoScroll"
  116.                       label="&useAutoScroll.label;"
  117.                       accesskey="&useAutoScroll.accesskey;"
  118.                       preference="general.autoScroll"/>
  119.             <checkbox id="useSmoothScrolling"
  120.                       label="&useSmoothScrolling.label;"
  121.                       accesskey="&useSmoothScrolling.accesskey;"
  122.                       preference="general.smoothScroll"/>
  123.             <checkbox id="checkSpelling"
  124.                       label="&checkSpelling.label;"
  125.                       accesskey="&checkSpelling.accesskey;"
  126.                       onsyncfrompreference="return gAdvancedPane.readCheckSpelling();"
  127.                       onsynctopreference="return gAdvancedPane.writeCheckSpelling();"
  128.                       preference="layout.spellcheckDefault"/>
  129.           </groupbox>
  130.  
  131.           <!-- Languages -->
  132.           <groupbox id="languagesGroup">
  133.             <caption label="&languages.label;"/>
  134.  
  135.             <hbox id="languagesBox" align="center">
  136.               <description flex="1" control="chooseLanguage">&chooseLanguage.label;</description>
  137.               <button id="chooseLanguage"
  138.                       label="&chooseButton.label;"
  139.                       accesskey="&chooseButton.accesskey;"
  140.                       oncommand="gAdvancedPane.showLanguages();"/>
  141.             </hbox>
  142.           </groupbox>
  143.  
  144.         </tabpanel>
  145.  
  146.         <!-- Network -->
  147.         <tabpanel id="networkPanel" orient="vertical">
  148.  
  149.            <!-- Connection -->
  150.            <groupbox id="connectionGroup">
  151.              <caption label="&connection.label;"/>
  152.  
  153.              <hbox align="center">
  154.                <description flex="1" control="connectionSettings">&connectionDesc.label;</description>
  155.                <button id="connectionSettings" icon="network" label="&connectionSettings.label;"
  156.                        accesskey="&connectionSettings.accesskey;"
  157.                        oncommand="gAdvancedPane.showConnections();"/>
  158.              </hbox>
  159.            </groupbox>
  160.  
  161.            <!-- Cache -->
  162.            <groupbox id="cacheGroup">
  163.              <caption label="&cache.label;"/>
  164.  
  165.              <hbox id="cacheSizeBox" align="center">
  166.                <label control="cacheSize"
  167.                       accesskey="&useCacheBefore.accesskey;">&useCacheBefore.label;</label>
  168.                <textbox id="cacheSize" size="2"
  169.                         preference="browser.cache.disk.capacity"
  170.                         onsyncfrompreference="return gAdvancedPane.readCacheSize();"
  171.                         onsynctopreference="return gAdvancedPane.writeCacheSize();"
  172.                         aaa:labelledby="cacheSizeBox"/>
  173.                <label flex="1">&useCacheAfter.label;</label>
  174.                <button id="clearCacheButton" icon="clear"
  175.                        label="&clearDataNow.label2;"
  176.                        oncommand="gAdvancedPane.clearCache();"/>
  177.              </hbox>
  178.            </groupbox>
  179.         </tabpanel>
  180.  
  181.         <!-- Update -->
  182.         <tabpanel id="updatePanel" orient="vertical" align="start">
  183.           <label control="autoUpdateGroup">&autoCheck.label;</label>
  184.           <vbox class="indent" id="autoUpdateGroup" xhtml2:role="wairole:groupbox">
  185.             <checkbox id="enableAppUpdate"
  186.                       label="&enableAppUpdate.label;"
  187.                       accesskey="&enableAppUpdate.accesskey;"
  188.                       preference="app.update.enabled"/>
  189.             <checkbox id="enableAddonUpdate"
  190.                       label="&enableAddonsUpdate.label;"
  191.                       accesskey="&enableAddonsUpdate.accesskey;"
  192.                       preference="extensions.update.enabled"/>
  193.             <checkbox id="enableSearchUpdate"
  194.                       label="&enableSearchUpdate.label;"
  195.                       accesskey="&enableSearchUpdate.accesskey;"
  196.                       preference="browser.search.update"/>
  197.           </vbox>
  198.  
  199.           <separator id="updateSeparator1"/>
  200.  
  201.           <label id="updateModeLabel" control="updateMode">&whenUpdatesFound.label;</label>
  202.           <radiogroup id="updateMode" class="indent"
  203.                       preference="app.update.auto">
  204.             <radio id="ask" value="false"
  205.                    label="&askMe.label;"
  206.                    accesskey="&askMe.accesskey;"/>
  207.             <radio id="automatic" value="true"
  208.                    label="&modeAutomatic.label;"
  209.                    accesskey="&modeAutomatic.accesskey;"/>
  210.             <hbox class="indent">
  211.               <checkbox id="warnIncompatible"
  212.                         label="&modeAutoAddonWarn.label;" accesskey="&modeAutoAddonWarn.accesskey;"
  213.                         preference="app.update.mode"
  214.                         onsyncfrompreference="return gAdvancedPane.readAddonWarn();"
  215.                         onsynctopreference="return gAdvancedPane.writeAddonWarn();"/>
  216.             </hbox>
  217.           </radiogroup>
  218.  
  219.           <separator id="updateSeparator2"/>
  220.  
  221.           <vbox>
  222.             <hbox>
  223.               <button id="showUpdateHistory"
  224.                       label="&updateHistory.label;" accesskey="&updateHistory.accesskey;"
  225.                       preference="app.update.disable_button.showUpdateHistory"
  226.                       oncommand="gAdvancedPane.showUpdates();"/>
  227.   <!-- Flock : START -->
  228.               <button id="forceServiceUpdates"
  229.                       label="&flock.forceServiceUpdates.label;" accesskey="&flock.forceServiceUpdates.accesskey;"
  230.                       oncommand="gAdvancedPane.forceServiceUpdates();"/>
  231.   <!-- Flock : END -->
  232.             </hbox>
  233.             <label id="serviceUpdateStatus" />
  234.           </vbox>
  235.         </tabpanel>
  236.  
  237.         <!-- Encryption -->
  238.         <tabpanel id="encryptionPanel" orient="vertical">
  239.  
  240.           <!-- Protocols -->
  241.           <groupbox id="protocolsGroup">
  242.             <caption label="&protocols.label;"/>
  243.  
  244.             <grid>
  245.               <columns>
  246.                 <column flex="1"/>
  247.                 <column flex="1"/>
  248.               </columns>
  249.               <rows>
  250.                 <row>
  251.                   <hbox>
  252.                     <checkbox id="useSSL3" label="&useSSL3.label;"
  253.                               accesskey="&useSSL3.accesskey;"
  254.                               preference="security.enable_ssl3"/>
  255.                   </hbox>
  256.                   <hbox>
  257.                     <checkbox id="useTLS1" label="&useTLS1.label;"
  258.                               accesskey="&useTLS1.accesskey;"
  259.                               preference="security.enable_tls"/>
  260.                   </hbox>
  261.                 </row>
  262.               </rows>
  263.             </grid>
  264.           </groupbox>
  265.  
  266.           <!-- Certificates -->
  267.           <groupbox id="certificatesGroup">
  268.             <caption label="&certificates.label;"/>
  269.  
  270.             <description control="certselection">&certselect.description;</description>
  271.  
  272.             <!--
  273.               The values on these radio buttons may look like l12y issues, but
  274.               they're not - this preference uses *those strings* as its values.
  275.               I KID YOU NOT.
  276.             -->
  277.             <radiogroup id="certSelection" orient="horizontal" preftype="string"
  278.                           preference="security.default_personal_cert">
  279.               <radio label="&certs.auto;" accesskey="&certs.auto.accesskey;"
  280.                      value="Select Automatically"/>
  281.               <radio label="&certs.ask;" accesskey="&certs.ask.accesskey;"
  282.                      value="Ask Every Time"/>
  283.             </radiogroup>
  284.  
  285.             <separator/>
  286.  
  287.             <hbox>
  288.               <button id="viewCertificatesButton"
  289.                       label="&viewCerts.label;" accesskey="&viewCerts.accesskey;"
  290.                       oncommand="gAdvancedPane.showCertificates();"
  291.                       preference="security.disable_button.openCertManager"/>
  292.               <button id="viewCRLButton"
  293.                       label="&viewCRLs.label;" accesskey="&viewCRLs.accesskey;"
  294.                       oncommand="gAdvancedPane.showCRLs();"
  295.                       preference="security.OCSP.disable_button.managecrl"/>
  296.               <button id="verificationButton"
  297.                       label="&verify.label;" accesskey="&verify.accesskey;"
  298.                       oncommand="gAdvancedPane.showOCSP();"/>
  299.               <button id="viewSecurityDevicesButton"
  300.                       label="&viewSecurityDevices.label;" accesskey="&viewSecurityDevices.accesskey;"
  301.                       oncommand="gAdvancedPane.showSecurityDevices();"
  302.                       preference="security.disable_button.openDeviceManager"/>
  303.             </hbox>
  304.           </groupbox>
  305.         </tabpanel>
  306.  
  307.       </tabpanels>
  308.     </tabbox>
  309.   </prefpane>
  310.  
  311. </overlay>
  312.